package com.rightsidetech.activity.dto.response;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class ActEntityCouponResp implements Serializable {
    @ApiModelProperty("活动名称")
    private String activityName;
    @ApiModelProperty("优惠券编号")
    private String code;
    @ApiModelProperty("优惠券类型(0折扣 1满减)")
    private Byte couponType;
    @ApiModelProperty("优惠券金额")
    private BigDecimal amount;
    @ApiModelProperty("状态 0待领取 1已领取 2已使用 6已作废")
    private Byte status;
    @ApiModelProperty("有效期")
    private Date endTime;
    @ApiModelProperty(value = "优惠券发放对象（0 用户 1 门店）",required = true)
    private Byte target;
    @ApiModelProperty("生成时间")
    private Date generateAt;
}
